package chapter5;
import static utility.Print.*;

/*
 * Exercise 14: (1) Create a class with a static String field that is initialized at the point of
 * definition, and another one that is initialized by the static block. Add a static method that
 * prints both fields and demonstrates that they are both initialized before they are used.
 */

class StaticExameple {
	static String s = "asd";
	static {
		s = "bcd";
	}
	public static void printString() {
		print(s);
	}
}

public class Exercise14 {
	public static void main(String []args) {
		StaticExameple.printString();
	}

}
